#pragma once

class CMyException
{
public:
    enum E_EXCEPT_TYPE
    {
        E_UNK=0,
        E_OFF_LINE,
    };
    CMyException();
    virtual ~CMyException();
    E_EXCEPT_TYPE GetException() const{ return m_eType;}
protected:
    E_EXCEPT_TYPE m_eType;

};

class CMyExceptionOffLine():public CMyException
{
    CMyExceptionOffLine():m_eType(E_OFF_LINE)
    {
    }
    ~CMyExceptionOffLine(){}
};